﻿<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeBehind="ShopShare.aspx.cs"
    Inherits="NJL.Web.Shop.ShopShare" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>分享</title>
    <link href="/Styles/base1.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/manage.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script type="text/javascript" language="javascript">
        function check() {
            var $txtAttractionsTitle = $('#<%=txtAttractionsTitle.ClientID %>').val();
            $txtAttractionsTitle = $.trim($txtAttractionsTitle);
            if ($txtAttractionsTitle == "") {
                alert("标题不能为空哦^_^");
                return false;
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <!--基本信息内容-->
    <div class="cleanFlex m_top_10">
    </div>
    <div>
        <!--标题-->
        <div class="titleManageRight">
            <h2>
                分享</h2>
        </div>
        <!--内容-->
        <div class="cont cleanFlex write">
            <p>
                <strong>标&nbsp;&nbsp;&nbsp;题:</strong>
                <asp:TextBox ID="txtAttractionsTitle" runat="server" class="inputWrite" Style="width: 300px"
                    MaxLength="50"></asp:TextBox></p>
            <p>
                <strong>副标题:</strong>
                <asp:TextBox ID="txtAttractionFtitle" runat="server" class="inputWrite" Style="width: 300px"
                    MaxLength="50"></asp:TextBox></p>
            <!--编辑-->
            <div class="m_top_10">
                <p>
                    <asp:TextBox ID="txtContent" runat="server" CssClass="input" TextMode="MultiLine"
                        Height="100px" Width="300"></asp:TextBox></p>
                        <p>
                <script type="text/javascript">
                    CKEDITOR.replace('<%=txtContent.ClientID%>',
                            {
                                filebrowserBrowseUrl: '/ckfinder/ckfinder.html', //启用浏览功能
                                filebrowserImageBrowseUrl: '/ckfinder/ckfinder.html?Type=Images',
                                filebrowserImageUploadUrl: '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Images',
                                width: '620px',
                                height:'400px',
                                toolbarStartupExpanded: false
                                //filebrowserUploadUrl: '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Files',
                                //filebrowserFlashBrowseUrl: '/ckfinder/ckfinder.html?Type=Flash',
                                //filebrowserFlashUploadUrl: '/ckfinder/core/connector/aspx/connector.aspx?command=QuickUpload&type=Flash'
                            }
                            );
                </script></p>
                <p class="m_top_10">
                    <strong>标签:</strong>
                    <asp:TextBox ID="txtTag" runat="server" Width="200px" class="inputWrite" Style="width: 200px"
                        MaxLength="100"></asp:TextBox>(多个标签请用逗号隔开)</p>
                <p>
                    <strong>图片:</strong><asp:FileUpload ID="FileUpload1" runat="server" CssClass="input" /></p>
                <p class="centeralign">
                    <asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="分享" class="redbtn"
                        OnClientClick="return check()" /></p>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
